﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL.Entities
{
    public class Article : BaseEntity
    {
        public int? AuthorId { get; set; }
        public User Author { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string Default { get; set; }
        public string Abstract { get; set; }
        public string Text { get; set; }
        public string Link { get; set; }
        public string AD { get; set; }
        public DateTime? PublishTime { get; set; }
        //public IList<KeyWord> KeyWords { get; set; }
        public string Keyword { get; set; }
        public string CommentById { get; set; }
        public string CommentByName { get; set; }
        public string CommentByCount { get; set; }

        public string AppraiseByDisagreeAmount { get; set; }
        public string AppraiseByAgreeAmount { get; set; }

        public string UserById { get; set; }
        public string UserByLevel { get; set; }
        public string UserByName { get; set; }

        public void Publish()
        {

        }
    }
}
